/*
 * Copyright (c) 2025 EasyAdmin
 * All rights reserved.
 *
 * This file is part of the [EasAdmin] project.
 * Unauthorized copying of this file, via any medium, is strictly prohibited.
 * Proprietary and confidential.
 *
 * Author: EasyAdmin ( 1073602@qq.com )
 * Website: https://www.xhxiao.com
 */
package com.easy.module.system.query;

import com.easy.framework.common.model.BaseQuery;
import com.easy.framework.database.annotation.Query;
import com.easy.framework.database.annotation.QueryType;
import lombok.Getter;
import lombok.Setter;

/**
 * 角色管理 查询实体
 *
 * @author EasyAdmin ( 1073602@qq.com )
 * @date 2025-08-19
 */
@Getter
@Setter
public class SysRoleQuery extends BaseQuery
{
    private static final long serialVersionUID = 1L;

    /**
     * 角色编号
     */
    @Query
    private Long id;

    /**
     * 角色名称
     */
    @Query(type = QueryType.LIKE)
    private String roleName;

    /**
     * 角色标识
     */
    @Query
    private String roleKey;

    /**
     * 数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）
     */
    @Query
    private String dataScope;

    /**
     * 角色状态（0正常 1停用）
     */
    @Query
    private String status;



}
